package cn.ztf.zshop.sys.dto;

import com.anji.captcha.model.vo.CaptchaVO;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class UserLoginDto {

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

    private Boolean rememberMe;

    @NotNull(message = "验证码不能为空")
    private CaptchaVO captchaVO;

}
